package com.example.service;

import com.example.entity.Staff;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nanhang.common.util.PageResult;
import com.example.vo.StaffVO;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wmj
 * @since 2025-01-12
 */
public interface IStaffService extends IService<Staff> {
    PageResult<Staff> findByPage(Integer page, Integer pageSize);

    PageResult<Staff> search(Integer page, Integer pageSize, StaffVO vo);

    boolean add(Staff staff);
}
